<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 27236
  Date: 2021/8/16
  Time: 22:17
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <title>诚信考试</title>
    <link href="${pageContext.request.contextPath}/static/css/bootstrap.min.css" rel="stylesheet">
    <script src="${pageContext.request.contextPath}/static/js/jquery-3.6.0.js"></script>
    <script src="${pageContext.request.contextPath}/static/js/bootstrap.min.js"></script>
</head>
<body>
<table class="table">
    <h2>选择题</h2>
    <c:forEach items="${detailExam.question.choiceList}" var="choice" varStatus="s">
        <h4>${s.count}.${choice.title}</h4>
        <h6>A . ${choice.questionA}</h6>
        <h6>B . ${choice.questionB}</h6>
        <h6>C . ${choice.questionC}</h6>
        <h6>D . ${choice.questionD}</h6>
    </c:forEach>
    <hr>
    <h2>填空题</h2>
    <c:forEach items="${detailExam.question.fillList}" var="fill" varStatus="s">
        <h4>${s.count}.${fill.title}</h4>
    </c:forEach>
    <hr>
    <h2>简答题</h2>
    <c:forEach items="${detailExam.question.shortAnswerList}" var="sa" varStatus="s">
        <h4>${s.count}.${sa.title}</h4>
    </c:forEach>


</table>
</body>
</html>
